<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh/Tools/Kernel_OSG/bindT.hh File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a00626.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">bindT.hh File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Bind an <a class="el" href="a01233.html" title="Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...">OpenMesh</a> to a OpenSG geometry node.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;functional&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &lt;OpenMesh/Core/Mesh/TriMeshT.hh&gt;</code><br />
<code>#include &lt;OpenMesh/Core/Utils/color_cast.hh&gt;</code><br />
<code>#include &lt;OpenMesh/Tools/Utils/GLConstAsString.hh&gt;</code><br />
<code>#include &lt;OpenSG/OSGGeometry.h&gt;</code><br />
<code>#include &quot;color_cast.hh&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for bindT.hh:</div>
<div class="dyncontent">
<div class="center"><img src="a00627.png" border="0" usemap="#OpenMesh_2Tools_2Kernel__OSG_2bindT_8hh" alt=""/></div>
<map name="OpenMesh_2Tools_2Kernel__OSG_2bindT_8hh" id="OpenMesh_2Tools_2Kernel__OSG_2bindT_8hh">
<area shape="rect" id="node4" href="a00419_source.html" title="OpenMesh/Core/Mesh\l/TriMeshT.hh" alt="" coords="997,95,1150,136"/>
<area shape="rect" id="node45" href="a04485_source.html" title="OpenMesh/Core/Utils\l/color_cast.hh" alt="" coords="146,556,294,597"/>
<area shape="rect" id="node48" href="a00725_source.html" title="OpenMesh/Tools/Utils\l/GLConstAsString.hh" alt="" coords="2485,184,2637,225"/>
<area shape="rect" id="node50" href="a04488_source.html" title="color_cast.hh" alt="" coords="370,474,470,501"/>
<area shape="rect" id="node6" href="a00386_source.html" title="OpenMesh/Core/Mesh\l/PolyMeshT.hh" alt="" coords="1162,184,1315,225"/>
<area shape="rect" id="node44" href="a00404_source.html" title="OpenMesh/Core/Mesh\l/Tags.hh" alt="" coords="997,273,1150,315"/>
<area shape="rect" id="node7" href="a00149_source.html" title="OpenMesh/Core/Geometry\l/MathDefs.hh" alt="" coords="1276,273,1455,315"/>
<area shape="rect" id="node10" href="a00377_source.html" title="OpenMesh/Core/Mesh\l/PolyConnectivity.hh" alt="" coords="1673,273,1826,315"/>
<area shape="rect" id="node41" href="a00353_source.html" title="OpenMesh/Core/Mesh\l/FinalMeshItemsT.hh" alt="" coords="490,645,643,687"/>
<area shape="rect" id="node11" href="a00320_source.html" title="OpenMesh/Core/Mesh\l/ArrayKernel.hh" alt="" coords="1438,370,1591,411"/>
<area shape="rect" id="node29" href="a00398_source.html" title="OpenMesh/Core/Mesh\l/SmartRange.hh" alt="" coords="1615,370,1769,411"/>
<area shape="rect" id="node33" href="a00380_source.html" title="OpenMesh/Core/Mesh\l/PolyConnectivity_inline\l_impl.hh" alt="" coords="1844,363,2007,419"/>
<area shape="rect" id="node13" href="a00467_source.html" title="OpenMesh/Core/Utils\l/GenProg.hh" alt="" coords="495,824,643,865"/>
<area shape="rect" id="node14" href="a00314_source.html" title="OpenMesh/Core/Mesh\l/ArrayItems.hh" alt="" coords="1419,645,1573,687"/>
<area shape="rect" id="node17" href="a00335_source.html" title="OpenMesh/Core/Mesh\l/BaseKernel.hh" alt="" coords="966,467,1119,508"/>
<area shape="rect" id="node28" href="a00401_source.html" title="OpenMesh/Core/Mesh\l/Status.hh" alt="" coords="2206,556,2359,597"/>
<area shape="rect" id="node15" href="a00368_source.html" title="OpenMesh/Core/Mesh\l/Handles.hh" alt="" coords="1373,735,1526,776"/>
<area shape="rect" id="node20" href="a00479_source.html" title="OpenMesh/Core/Utils\l/PropertyContainer.hh" alt="" coords="856,556,1005,597"/>
<area shape="rect" id="node21" href="a00476_source.html" title="OpenMesh/Core/Utils\l/Property.hh" alt="" coords="942,645,1090,687"/>
<area shape="rect" id="node26" href="a00497_source.html" title="OpenMesh/Core/Utils\l/typename.hh" alt="" coords="770,645,918,687"/>
<area shape="rect" id="node22" href="a00455_source.html" title="OpenMesh/Core/Utils\l/BaseProperty.hh" alt="" coords="965,735,1113,776"/>
<area shape="rect" id="node23" href="a00269_source.html" title="OpenMesh/Core/IO/StoreRestore.hh" alt="" coords="797,831,1032,858"/>
<area shape="rect" id="node25" href="a00437.html" title="This file provides the streams omlog, omout, and omerr. " alt="" coords="1055,824,1222,865"/>
<area shape="rect" id="node34" href="a00371_source.html" title="OpenMesh/Core/Mesh\l/IteratorsT.hh" alt="" coords="2073,467,2226,508"/>
<area shape="rect" id="node35" href="a00395_source.html" title="OpenMesh/Core/Mesh\l/SmartHandles.hh" alt="" coords="1659,556,1813,597"/>
<area shape="rect" id="node40" href="a00344_source.html" title="OpenMesh/Core/Mesh\l/CirculatorsT.hh" alt="" coords="1895,467,2049,508"/>
<area shape="rect" id="node36" href="a00440_source.html" title="OpenMesh/Core/System\l/OpenMeshDLLMacros.hh" alt="" coords="1699,645,1874,687"/>
<area shape="rect" id="node42" href="a00503_source.html" title="OpenMesh/Core/Utils\l/vector_traits.hh" alt="" coords="245,735,393,776"/>
<area shape="rect" id="node46" href="a00500_source.html" title="OpenMesh/Core/Utils\l/vector_cast.hh" alt="" coords="146,645,294,687"/>
<area shape="rect" id="node47" href="a00167_source.html" title="OpenMesh/Core/Geometry\l/VectorT.hh" alt="" coords="41,735,220,776"/>
</map>
</div>
</div>
<p><a href="a00626_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:a01233"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01233.html">OpenMesh</a></td></tr>
<tr class="memdesc:a01233"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels and mesh traits. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01239"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01239.html">OpenMesh::Kernel_OSG</a></td></tr>
<tr class="memdesc:a01239"><td class="mdescLeft">&#160;</td><td class="mdescRight">In this namespace resides the OpenSG integration of <a class="el" href="a01233.html" title="Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...">OpenMesh</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a445596a00b39cf2dba9f88672236a94b"><td class="memItemLeft" align="right" valign="top"><a id="a445596a00b39cf2dba9f88672236a94b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>OpenMesh::Kernel_OSG::type_is_valid</b> (unsigned char _t)</td></tr>
<tr class="separator:a445596a00b39cf2dba9f88672236a94b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b8b29bbad427ea962a06fc04f5eb7a"><td class="memTemplParams" colspan="2">template&lt;typename Mesh &gt; </td></tr>
<tr class="memitem:a16b8b29bbad427ea962a06fc04f5eb7a"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01239.html#a16b8b29bbad427ea962a06fc04f5eb7a">OpenMesh::Kernel_OSG::bind</a> (osg::GeometryPtr &amp;_geo, <a class="el" href="a02385.html">Mesh</a> &amp;_mesh)</td></tr>
<tr class="memdesc:a16b8b29bbad427ea962a06fc04f5eb7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bind a OpenSG geometry to a mesh.  <a href="a01239.html#a16b8b29bbad427ea962a06fc04f5eb7a">More...</a><br /></td></tr>
<tr class="separator:a16b8b29bbad427ea962a06fc04f5eb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc3b4bdec92e3e781d54fbb21e533f6"><td class="memTemplParams" colspan="2">template&lt;typename Mesh &gt; </td></tr>
<tr class="memitem:abdc3b4bdec92e3e781d54fbb21e533f6"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a01239.html#abdc3b4bdec92e3e781d54fbb21e533f6">OpenMesh::Kernel_OSG::bind</a> (<a class="el" href="a02385.html">Mesh</a> &amp;_mesh, osg::GeometryPtr &amp;_geo)</td></tr>
<tr class="memdesc:abdc3b4bdec92e3e781d54fbb21e533f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bind a mesh object to geometry.  <a href="a01239.html#abdc3b4bdec92e3e781d54fbb21e533f6">More...</a><br /></td></tr>
<tr class="separator:abdc3b4bdec92e3e781d54fbb21e533f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Bind an <a class="el" href="a01233.html" title="Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...">OpenMesh</a> to a OpenSG geometry node. </p>
<p>Be aware that due to this link the geometry node maybe modified. For instance triangle strips are converted to regular triangles. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
